#ifndef NETWORK_LOGINREQUEST_H
#define NETWORK_LOGINREQUEST_H
#include "networkhttpgetrequest.h"
class QVariant;
namespace network {

class LoginRequest : public HttpGetRequest
{
    Q_OBJECT
public:
    explicit LoginRequest(const QString &user, const QString &password, QObject *parent = 0);
    
public:
    QUrl url() const;
private:
    Response *parse(QByteArray *data);
    Response *parse(const QVariant &properties);
private:
    QString m_user;
    QString m_password;
};

}
#endif // NETWORK_LOGINREQUEST_H
